<?php
/**
 * 'Tools' is a small admin-tool-module to provide some autotasks for icms and some more..
 *
 * File: /include/autotasks/autotask_clear_cache.php
 *
 * trigger all tool tasks at once
 *
 * @copyright	Copyright QM-B (Steffen Flohrer) 2013
 * @license		CC Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
 * ----------------------------------------------------------------------------------------------------------
 * 				Tools
 * @since		1.00
 * @author		QM-B <qm-b@hotmail.de>
 * @version		$Id: autotask_clear_cache.php 1047 2013-07-15 17:05:34Z st.flohrer@gmail.com $
 * @version		$Revision: 1047 $
 * @package		tools
 *
 */

defined('ICMS_ROOT_PATH') or die("Access Denied");

defined('ICMS_ROOT_PATH') or die("Access Denied");
defined('TOOLS_DIRNAME') or define('TOOLS_DIRNAME', basename(dirname(dirname(dirname(__FILE__)))));
include_once ICMS_ROOT_PATH.'/modules/'.TOOLS_DIRNAME.'/include/common.php';
require_once ICMS_ROOT_PATH.'/modules/'.TOOLS_DIRNAME.'/class/Tools.php';

mod_tools_Tools::instance();
mod_tools_Tools::clearCache();
mod_tools_Tools::clearTemplates();